package demo.boat.boatSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 船舶规范
 * </p>
 *
 * @author boat
 * @since 2022-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShpVessels对象", description="船舶规范")
public class ShpVessels implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "船舶ID")
    @TableId(value = "VLS_ID", type = IdType.NONE)
    private BigDecimal vlsId;

    @ApiModelProperty(value = "代码")
    private String vlsCd;

    @ApiModelProperty(value = "中文名")
    @TableField("VLS_CHNNM")
    private String vlsChnnm;

    @ApiModelProperty(value = "英文名")
    @TableField("VLS_ENGNM")
    private String vlsEngnm;

    @ApiModelProperty(value = "类型")
    @TableField("VLS_TYPE_FG")
    private BigDecimal vlsTypeFg;

    @ApiModelProperty(value = "航次名称")
    @TableField(exist = false)
    private String vvyNm;

    @ApiModelProperty(value = "实际完工时间")
    @TableField("VVY_ACTUAL_END_TM")
    private Date vvyActualEndTm;

    @ApiModelProperty(value = "数量")
    @TableField(exist = false)
    private BigDecimal godAmount;
    @ApiModelProperty(value = "提单号")
    @TableField(exist = false)
    private String mnfBl;
    @TableField(exist = false)
    private List<ShpVesselVoyages> shpVesselVoyages;
    @ApiModelProperty(value = "VVY_ID")
    @TableField(exist = false)
    private String vvyId;
    @ApiModelProperty(value = "提单ID")
    @TableField(exist = false)
    private String mnfId;
}
